package edu.sctu.treebuilder.day01;

/**
 * Created by apple on 05/02/2018.
 */
public class CharacterReader {

    private String content;
    private int pos;

    public CharacterReader(String content) {
        this.content = content;
    }

    public char consume(){
        return content.charAt(pos++);
    }
}
